package com.steel.yfmall.cloud.assistant.api.stock;

import com.steel.yfmall.cloud.assistant.bean.param.ParaCreateOrderDepotShipBean;
import com.steel.yfmall.cloud.assistant.bean.param.ZgOrderParamBean;
import com.steel.yfmall.cloud.assistant.bean.result.*;
import com.steel.yfmall.cloud.components.utils.base.APIMsgBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @version 1.0
 * @ClassName: ZgOrderService
 * @author: TQ
 * @Description: DOTO
 * @Date Create in 14:51 2020/11/19
 **/
@FeignClient(value = "YFMALL-ASSISTANT-SERVICE-PROVIDER")
@Component
public interface OrderLogisticsService {

    @RequestMapping(value = "createOrderDepotShip")
    APIMsgBean<Boolean> createOrderDepotShip(ParaCreateOrderDepotShipBean paraCreateOrderDepotShipBean);

    /**
     * erp推送电商车辆信息接口
     * @param paraCreateOrderDepotShipBean
     * @return
     */
    @RequestMapping(value = "updateDriver")
    APIMsgBean<Boolean> updateDriver(ParaCreateOrderDepotShipBean paraCreateOrderDepotShipBean);

    /**
     * 车辆进场，订单确认接口
     * @param paraCreateOrderDepotShipBean
     * @return
     * @author yaokan
     * @date 2021-04-05 17:34
     */
    @RequestMapping(value = "orderConfirm")
    APIMsgBean<Boolean> orderConfirm(ParaCreateOrderDepotShipBean paraCreateOrderDepotShipBean);
}
